home *** CD-ROM | disk | FTP | other *** search
- VERSION
-
- Finds software version and revision numbers.
-
- Format
-
- VERSION [<library | device | file>] [<version #>] [<revision #>] [<unit #>]
- [FILE] [INTERNAL] [RES] [FULL]
-
- Template
-
- NAME,VERSION/N,REVISION/N,UNIT/N,FILE/S,INTERNAL/S,FULL/S
-
- Location
-
- C:
-
- VERSION finds the version and revision number of a library, device, command,
- or Workbench disk. VERSION can also test for a specific version/revision and
- set the condition flags if the version/revision is greater.
-
- VERSION with no <library | device | file> argument prints the Kickstart
- version number and the Workbench version number and sets the two
- corresponding environment variables. If a name is specified, VERSION attempts
- to open the library, device, drive, or file and read the version information.
- Specify a device name, such as DF0: or DH0:, to get the version of the file
- system used by a drive.
-
- When a <version #> or a <revision #> is specified, VERSION sets the condition
- flag to 0 if the version and revision number of the Kickstart, library, or
- device driver is greater than or equal to the specified values. Otherwise,
- the flag is set to 5 (WARN). If a revision number is not specified, no
- comparison on the revision number is performed.
-
- The <unit #> option is obsolete and is retained for compatibility with older
- programs.
-
- The FILE option forces VERSION to ignore libraries or device drivers
- currently loaded. This allows you to get the version number of a .library or
- .device file on disk when a library or device of that name is already in
- memory or available in LIBS:. The RES option gets the version of Resident
- commands. Built-in Shell commands have the same version string as the Shell.
- INTERNAL is also obsolete and retained for compatibility. The FULL option
- prints out the complete version of the string, including the date.
-
- Examples:
-
- 1> VERSION
- Kickstart 40.70 Workbench 44.1
-
- 1> VERSION Alpha:Libs/xyz.library FILE FULL
- xyz.library 1.13 (05/24/93)
-